package com.develop.service;

import com.develop.enumm.DayEnum;
import com.ruoyi.common.utils.bean.Factory;
import org.springframework.stereotype.Service;

/**
 * @author xumh
 * @title: TestService
 * @projectName ruoyi
 * @description: TODO
 * @date 2024/12/1215:19
 */
@Service
public class TestService {
    /**
     * 获取实例
     *
     * make by dell on 2020年3月1日 上午10:29:54
     * @return
     */
    public static TestService instance() {
        return Factory.instance(TestService.class);
    }

    public static void main(String[] args) {
        DayEnum day = DayEnum.FRIDAY;
        System.out.println(day.isWeekday());
    }


}
